home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Strip Tease
/
Virtual Strip Tease.iso
/
mac
/
INSTALL.RUL
< prev
next >
Wrap
Text File
|
1995-05-15
|
3KB
|
83 lines
//
// Define some predefined constants. Can be used for number only
//
#define MAX_SIZE 145
#define BASE_FILE_SIZE 500000
#define ALT_FILE_SIZE 500000
declare // Must use declare keyword to start variable declaration
string szText[ MAX_SIZE ], szTemp[ MAX_SIZE ]; // Declare string vars
string szDefPath[ MAX_SIZE ], szResultPath[ MAX_SIZE ];
string szDisk[50], szBitmapPath[ MAX_SIZE ];
string szErrMsg [ 255 ], szErrFile [ 100 ];
string szREADME [ 100 ], szPath[ 200 ];
string szCommand[ 200 ], szDLL[ MAX_SIZE ];
string szISDemoPath[ MAX_SIZE ], szDLLPath[ MAX_SIZE ];
string szPgrp[ 40 ];
// Strings for about box, remove for your installation
string szAbtBitmap[ MAX_SIZE ];
string szAbtTitle[ MAX_SIZE ];
string szAbtSubTitle1[ MAX_SIZE ];
string szAbtSubTitle2[ MAX_SIZE ];
string szAbtCopyright[ MAX_SIZE ];
number nSpace;
program /* Must use program keyword to start the statements */
Start:
StrCopy( szPgrp, "Virtual Strip" );
// Set the color of the background to be BLUE
SetColor( BACKGROUND, RGB( 0,0,64 ) );
SetColor( STATUSBAR, RED );
SetFont( FONT_TITLE, STYLE_NORMAL, "Helv" );
SetTitle( "Installing Virtual Strip", 45, YELLOW );
SetStatusWindow( 1, "Installing Virtual Strip" );
// Enable various objects.
Enable( BITMAPFADE ); // All bitmaps will fade into the screen.
Disable( HELP ); //
Enable( FEEDBACK_FULL); // Feedback window enabled
Complete:
// Now create a program group & icons
SetStatusWindow( 99, "Creating Program Group & Icons");
Delay( 1 );
AppCommand( PROGMAN, CMD_RESTORE );
DeleteGroup( szPgrp );
StrCopy( szPath, SRCDIR );
AppendToPath( szPath, "ASPC.EXE" );
AddProgItem( szPgrp, "Virtual Strip", szPath, "" );
Delay( 2 );
StrCopy( szPath, SRCDIR );
AppendToPath( szPath, "README. " );
StrCopy( szCommand, "NOTEPAD ");
StrConcat( szCommand, szPath );
AddProgItem( szPgrp, "Virtual Strip-Readme", szCommand, "");
AppCommand( PROGMAN, CMD_PUSHDOWN );
SetStatusWindow( 100, "Installation complete..." );
Delay( 3 ); //Artificial Delay
AskYesNo( "Would you like to view the README file ?", TRUE );
if LAST_RESULT = YES then
StrCopy( szREADME, SRCDIR );
AppendToPath( szREADME,"README. ");
LaunchApp("notepad.exe", szREADME );
endif;
exit; //Exit installation program.